package com.zhangtai.modules.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;



@Data
public class ScoreTopicDto implements Serializable {
	private static final long serialVersionUID = 1L;

			/**
		 * 题目id
		 */
				@TableId
		@JsonDeserialize(using = LongJsonDeserializer.class)
		@JsonSerialize(using = LongJsonSerializer.class)
			private Long id;
			/**
		 * 题目
		 */
			private String title;
			/**
		 * 最高分
		 */
			private BigDecimal maxScore;
			/**
		 * 题目类型 
		 */
			private Integer type;
			/**
		 * 创建时间
		 */
			private Date createTime;
			/**
		 * 创建人
		 */
			private String createName;
			/**
		 * 创建人 code
		 */
			private String createCode;

	/**
	 * 加权平均分
	 */
	private BigDecimal averageScore;


	
}
